﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Dialog.Master" AutoEventWireup="true" CodeBehind="VehicleModelEdit.aspx.cs" Inherits="NetDon.OA.Portal.Admin.VehicleModelEdit" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <NetDon:FormPanel runat="server" RepeatColumns="1" ID="formCurrency">
        <Items>
            <NetDon:FormItem HeaderText="车型名称">
                <ContentTemplate>
                    <asp:TextBox ID="txtVehicleModelName" runat="server" Text='<%#Bind("ModelName") %>'
                        MaxLength="30"></asp:TextBox>
                    <asp:RequiredFieldValidator runat="server" ControlToValidate="txtVehicleModelName" ErrorMessage="请输入车型名称。"
                        Display="None" SetFocusOnError="True"></asp:RequiredFieldValidator>
                </ContentTemplate>
            </NetDon:FormItem>
            <NetDon:FormItem HeaderText="长(厘米)">
                <ContentTemplate>
                    <asp:TextBox ID="txtLength" runat="server" Text='<%#Bind("Length") %>' MaxLength="9"></asp:TextBox>
                    <NetDon:NumericEditExtender runat="server" MaxValue="100000" TargetControlID="txtLength"
                        DataMode="Double">
                    </NetDon:NumericEditExtender>
                   <%-- <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtLength"
                        Display="None" SetFocusOnError="True" ErrorMessage="请输入此车型的长度"></asp:RequiredFieldValidator>--%>
                </ContentTemplate>
            </NetDon:FormItem>
            <NetDon:FormItem HeaderText="宽(米)">
                <ContentTemplate>
                    <asp:TextBox ID="txtWidth" runat="server" Text='<%#Bind("Width") %>' MaxLength="9"></asp:TextBox>
                       <NetDon:NumericEditExtender ID="NumericEditExtender1" runat="server" MaxValue="100000" TargetControlID="txtWidth"
                        DataMode="Double">
                    </NetDon:NumericEditExtender>
                 <%--   <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtWidth"
                        Display="None" SetFocusOnError="True" ErrorMessage="请输入此车型的宽度"></asp:RequiredFieldValidator>--%>
                </ContentTemplate>
            </NetDon:FormItem>
            <NetDon:FormItem HeaderText="高(米)">
                <ContentTemplate>
                    <asp:TextBox ID="txtHeight" runat="server" Text='<%#Bind("Height") %>' MaxLength="9"></asp:TextBox>
                        <NetDon:NumericEditExtender ID="NumericEditExtender2" runat="server" MaxValue="100000" TargetControlID="txtHeight"
                        DataMode="Double">
                    </NetDon:NumericEditExtender>
              <%--      <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtSymbol"
                        Display="None" SetFocusOnError="True" ErrorMessage="请输入此车型的高度"></asp:RequiredFieldValidator>--%>
                </ContentTemplate>
            </NetDon:FormItem>
        </Items>
    </NetDon:FormPanel>
    <div style="margin-top: 5px; text-align: center">
        <asp:Button ID="btnSave" runat="server" OnClick="btnSave_Click" Text="保存" />
        <asp:Button ID="btnCancel" runat="server" Text="取消"
            CausesValidation='false' />
    </div>
    <asp:ValidationSummary runat="server" ShowMessageBox="true" ShowSummary="false" DisplayMode="BulletList"
        ID="summary" />
</asp:Content>